// ref 就是一个组合式API  
import { ref } from 'vue';
export function useCount() {
    const count = ref(0);
    const increment = () => {
        count.value++;
    };
    return { count, increment };
}